package com.meiyou.mapper;

import com.meiyou.pojo.MeiyouLyask;
import com.meiyou.pojo.MeiyouLyaskExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface MeiyouLyaskMapper {
    int countByExample(MeiyouLyaskExample example);

    int deleteByExample(MeiyouLyaskExample example);

    int deleteByPrimaryKey(Integer lId);

    int insert(MeiyouLyask record);

    int insertSelective(MeiyouLyask record);

    List<MeiyouLyask> selectByExample(MeiyouLyaskExample example);

    MeiyouLyask selectByPrimaryKey(Integer lId);
    
    @Select("select count(*) from meiyou_lyask where l_y_id=#{lYId,jdbcType=INTEGER}")
    int selCount(int lYId);
    
    int updState(int id);

    int updateByExampleSelective(@Param("record") MeiyouLyask record, @Param("example") MeiyouLyaskExample example);

    int updateByExample(@Param("record") MeiyouLyask record, @Param("example") MeiyouLyaskExample example);

    int updateByPrimaryKeySelective(MeiyouLyask record);

    int updateByPrimaryKey(MeiyouLyask record);
}